package net.hserver.admin.system.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Getter;
import lombok.Setter;

/**
 * 用户和角色关联表
 *
*
 * @since 2022-06-14
 */
@Getter
@Setter
@Table("tab_user_role")
public class UserRole{

    /**
     * 用户ID
     */
    @Id(keyType = KeyType.None)
    private Long userId;

    /**
     * 角色ID
     */
    private Long roleId;

}
